Syntax:
set the Margin of member whichcastmember to 5
set x = the Margin of member whichcastmember
Purpose:
This property is used to get or set the margin for the display of
the #html cast member.
The #html field is using the value of this property for calcuting a white margin around the whole text while imaging. The margin is set
The display area is the whole area, the cast member needs to display the margin, the text and the scrollbar (if visible), the text area is the whole area of the text display. If the total area is larger than the dimensions of the sprite on the stage and the text is scrolled to any position, you will see, that the margin applies to the whole area, which in this case is higher than the sprite itself. This results in the top margin getting scrolled together with the display area and you won´t see it any more when scrolling down.
This property can be tested and set.
Notes:
See also: